
#ifndef __BASE_CONVERT_H
#define __BASE_CONVERT_H

#include <apr_base64.h>

/** Convert from one base to another. Has conversions between bytes,
 * base64 and hexadecimal implemented. */
namespace BaseConvert
{
   char *convertBytesToBase64(const char *data, int bytes);
   char *convertBytesToHexadecimal(const char *data, int bytes);
   char *convertBase64ToBytes(const char *data, int *bytes);
   char *convertHexadecimalToBytes(const char *data, int *bytes);
};

#endif
